package com.ruoyi.tongyan.service;

import com.ruoyi.tongyan.domain.TDeclaration;

import java.util.List;

public interface TReviewService {
    /**
     * 申报和专家评审关联
     * @param declarationIds
     * @param userId
     * @return
     */
    public int assignDeclaration(Long[] declarationIds,Long userId);

    /**
     * 专家通过申报
     * @param declarationId
     * @return
     */
    public int passDeclaration(Long declarationId);

    /**
     * 专家未通过申报
     * @param declarationId
     * @return
     */
    public int rejectDeclaration(Long declarationId);

    /**
     * 结题和专家评审关联
     * @param closureIds
     * @param userId
     * @return
     */
    public int assignClosure(Long[] closureIds, Long userId);

    /**
     * 专家通过结题
     * @param closureId
     * @return
     */
    public int passClosure(Long closureId);

    /**
     * 专家未通过结题
     * @param closureId
     * @return
     */
    public int rejectClosure(Long closureId);
}
